@charset "utf-8";
@import './base.scss'; 
// @import './print.scss';
html,
body {
  height: 100%;
}

// 字体大小
$base-size: 14px;
$small-size: 12px;
$big-size: 16px;
// 底色
$base-bg-color: #f4f6f9;
// 描边色
$base-border-color: #e5e5e5;
// 输入框描边色
$base-input-color: #cfd7e6;

/* 公用变量 */
// 按钮背景色
$default-color: #2494ec;
$hover-color: #5fb4ff;
$active-color: #006cca;
$disbaledColor: #a4d1f6;


// 辅助颜色
$orange-color: #f37b1d;
$green-color: #5eb95e;
$red-color: #e6322c;
$blue-color: #3bb4f2;
// 字体颜色
$base-color: #333;
$deep-gray-color: #666;
$mid-gray-color: #999;
$light-gray-color: #ccc;

%scroll-bar {
   &::-webkit-scrollbar {
      width: 6px;
      height: 80px;  
      background: #4F4F4F;
      border-radius: 3px;
    }

    &::-webkit-scrollbar-track { 
      background: #F0F4F3;
        border-radius: 10px;   
    }

    &::-webkit-scrollbar-thumb {
      width: 6px;
      height: 80px;
      border-radius: 5px;
      background: #C1C1C1;
    }
}
@mixin hw-btn {
  font-size: 14px;
  color: #2494ec;
  border: 1px solid #2494ec;
  border-radius: 5px;
  line-height: 30px;
  min-width: 76px;
  text-align: center;
  padding: 0 10px;
  display: inline-block;
}
 

.blue-color {
  color: $blue-color;
}
.orange-color {
  color: $orange-color!important;
}
.red-color {
  color: $red-color!important;
}
.red {
  color: $red-color;
}
.hide{
    display: none!important; 
} 

.border-left-1px {
  border-left: 1px solid $base-border-color;
}

.border-top-1px {
  border-top: 1px solid $base-border-color;
}

.border-right-1px {
  border-right: 1px solid $base-border-color;
}

.border-bottom-1px {
  border-bottom: 1px solid $base-border-color;
}

.inline-block {
  display: inline-block;

  .hw-checkbox__label {
     padding-right: 20px;
  }
 
}
.display-table {
  display: table;

  .table-cell {
    display: table-cell;
    vertical-align: middle;
  }
}
@mixin input-hover {}

.clear-both {
	content: '';
	clear: both;
	display: table;
}
.example {
  padding-top: 50px;
}

.tab-wrap {
  padding: 0 20px 20px;
}

.hw-main-wrapper {
  position: absolute;
  background: #fff;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  border-radius: 5px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
  min-width: 1040px;
  overflow: auto;
}

.input-wrap {
  width: 360px;
  border: 1px solid #cfd7e6;
  border-radius: 5px;
  display: inline-block;
  margin-right: 40px;
  .hw-form-control {
    width: 100%;
    line-height: 32px;
    font-size: 100%;
    padding: 0 12px;
    border: none;
    outline: none;
    background: #fff;
    border-radius: 5px;
  }
}

.hw-filter-box {
  width: 100%;
  padding: 0 40px;
  clear: both;
  overflow: hidden;
  .hw-search-wrap {
    width: 100%;
    margin-bottom: 20px;
    .input-wrap-icon {
      background: #CFD7E6;
      .hw-form-control {
        width: 82.3529411%;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
      }
      i {
        color: #fff;
      }
      .i-wrap {
        display: inline-block;
        width: calc(100% - 84%);
        text-align: center;
      }
    }
    .span-wrap {
      width: auto !important;
      span.hw-form-control {
        color: #CFD7E6;
        i {
          font-size: 7px;
        }
      }
    }
  }
  .hw-form-group {
    float: left;
    width: 84.4%;
    .hw-input-group {
      display: inline-block;
      position: relative;
      margin-bottom: 15px;
      label {
        font-size: 14px;
        color: #333;
      }
      .input-wrap {
        width: 170px;
      }
      .input-wrap-icon {
        background: #CFD7E6;
        .hw-form-control {
          width: 82.3529411%;
          border-top-right-radius: 0px;
          border-bottom-right-radius: 0px;
        }
        i {
          color: #fff;
        }
      }
    }
  }
  .hw-btn-group {
    position: absolute;
    right: 40px;
    .m-btn:first-child {
      margin-right: 12px;
    }
  }
}

// 标题
.hw-header-wrapper {
  width: 100%;
  clear: both;
  overflow: hidden;
  padding: 18px 20px 18px 0px;
  .hw-header {
    width: 100%;
    font-size: 18px;
    color: #333;
    clear: both;
    overflow: hidden;
    padding-right: 0;
    .hw-header__item--left {
      float: left;
      line-height: 36px;
      font-size: 100%;
      border-left: 6px solid #2494ec;
      padding-left: 16px;
    }
    .hw-header__item--right {
      float: right;
      padding-left: 20px;
    }
  }
}

.hw-filter-wrapper {
  margin: 0 20px 20px;
  border: 1px solid #E5E5E5; 
  width: auto;
}

// 按钮
.hw-btn-group {
  clear: both;
  button {
    margin-right: 14px;
    &:last-child {
      margin: 0;
    }
  }
}

// 文字按钮
.hw-btn--default {
  background: #fff;
  @include hw-btn;
  &:hover {
    color: #5fb4ff;
    background: #fff;
    border-color: #5fb4ff;
  }
  &:active {
    color: #006cca;
    background: #fff;
    border-color: #006cca;
  }
  &:disabled {
    color: #a4d1f6;
    background: #fff;
    border-color: #a4d1f6;
  }
}

.hw-btn--red{
	@include hw-btn;
	border-color: #E6322C;
	color: #E6322C;
}

// 文字按钮-三种状态
.hw-btn--normal {
  @include hw-btn;
  color: #fff;
  background: #2494ec;
  &:hover {
    color: #fff;
    background: #5fb4ff;
    border-color: #5fb4ff;
  }
  &:active {
    color: #fff;
    background: #006cca;
    border-color: #006cca;
  }
  &:disabled {
    color: #fff;
    background: #a4d1f6;
    border-color: #a4d1f6;
  }
  &:disabled {
    color: #fff;
    background: #a4d1f6;
    border-color: #a4d1f6;
  }
}

.hw-btn--hover {
  @include hw-btn;
  color: #fff;
  background: #5fb4ff;
  border-color: #5fb4ff;
}

.hw-btn--clicked {
  @include hw-btn;
  color: #fff;
  background: #006cca;
  border-color: #006cca;
}

// 中号按钮
.hw-btn--mid {
  font-size: 14px;
  line-height: 24px;
}

// 图标按钮
.hw-icon-btn {
  background: #fff;
  @include hw-btn;
  width: 32px !important;
  min-width: 32px;
  padding: 0;
  &:hover {
    color: #5fb4ff;
    background: #fff;
    border-color: #5fb4ff;
  }
  &:active {
    color: #006cca;
    background: #fff;
    border-color: #006cca;
  }
  &:disabled {
    color: #a4d1f6;
    background: #fff;
    border-color: #a4d1f6;
  }
}

// form表单部分
// 单选框
.hw-checkbox-group {
  line-height: 19px;
  height: 19px;
}

.hw-checkbox {
  display: inline-block;
  margin-right: 50px;
}


label.hw-checkbox__label{ 
    line-height: 19px;
    font-size: 14px;
    color: #999;
    position: relative;
    cursor: pointer;
    img , i{
      width: 16px;
      height: 16px;
      line-height: 16px;
      display: none;
      float: none;
      color: #2494EC;
    }
    input + img,
    input + i {
        display: inline-block;  
        color: #CFD7E6;
    }
    input {
        position: absolute!important;
        opacity: 0;
        filter: alpha(opacity = 0);
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;

        &:checked + i,
        &:checked + img{
            display: none!important;
        }

        &:checked ~ i,
        &:checked ~ img{
            display: inline-block;
        }

        &:hover ~ i {
          color: $default-color;
        }
    }
}

.hw-input {
  background: #FFFFFF;
  border: 1px solid #CFD7E6;
  border-radius: 4px;
}


// 筛选栏
.hw-filter-wrapper {
  .hw-filter__input {
    min-width: 170px;
    display: inline-block;
    border: 1px solid #CFD7E6;
    border-radius: 5px;
    line-height: 32px;
    padding: 0 12px;
    &:hover {
      border: 1px solid #5FB4FF;
    }
    &:focus {
      border: 1px solid #2494EC;
    }
  }
  .hw-input-wrapper {
    position: relative;
    display: inline-block;
  }
}

// 下拉的组件
.hw-select-wrapper {
  @extend .hw-input-label;
 
  .select-group {
    display: inline-block;
    border: 1px solid #CFD7E6;
    border-radius: 5px;
    width: 170px;
    position: relative;
    .select-input {
      position: relative;
      input {
        line-height: 30px;
        border: none;
        width: 100%;
        border-radius: 5px;
        padding: 0 30px 0 12px;
        cursor: pointer;
      }
      i {
        font-size: 10px;
        position: absolute;
        right: 8px;
        color: #B4BCCC;
        top: 9px;
      }
    }
    .select-detail {
      display: none;
    }
    &:hover {
      border: 1px solid #5FB4FF;
      .select-input {
        i {
          color: #5fb4ff;
        }
      }
      .select-detail {
        display: block;
        position: absolute;
        z-index: 10;
        background: #fff;
        width: 170px;
        white-space: nowrap;
        word-break: keep-all;
        border: 1px solid #CFD7E6;
        box-shadow: 0 2px 4px 0 #CFD7E6;
        border-radius: 4px;
        margin-top: 2px;
        max-height: 200px;
        overflow: auto;
        padding: 2px 0;
        .select-detail__item {
          line-height: 28px;
          padding: 0 10px;
          cursor: pointer;
          &:hover {
            background: #F4F6F9;
          }
        }
      }
    }
  }
}

// 有icon的input
.input-icon-group {
	display: inline-block;
	position: relative;
	border-radius: 5px;
	.name {
		float: left;
		height: 32px;
		line-height: 32px;
		width: 80px;
		text-align: right;
		margin-right: 8px;
		span {
			color: #e6322c;
			position: relative;
			top: 3px;
		}
	}
	input {
		border: 1px solid #CFD7E6;
		border-radius: 5px;
		padding-right: 30px;
		width: 360px;
		line-height: 30px;
		padding: 0 30px 0 10px;
		&:hover {
			border-color: #5FB4FF;
			&+.icon-wrapper {
				background: #5fb4ff;
			}
		}
		&:focus {
			border-color: #2494EC;
			&+.icon-wrapper {
				background: #2494EC;
			}
		}
	}
	.icon-wrapper {
		display: inline-block;
		position: absolute;
		// width: 30px;
    //   line-height: 30px;
    width: 32px;
    height: 32px;
		line-height: 32px;
		text-align: center;
		color: #fff;
		top: 0;
		right: 0;
		background: #CFD7E6;
		border-top-right-radius: 5px;
		border-bottom-right-radius: 5px;
	}
}

//数字输入框
.hw-input-cal-wrapper {
  @extend .hw-input-label;

  .input-cal-group {
    display: inline-block;
    position: relative;
    border-radius: 5px;
    width: 360px;
    input {
      border: 1px solid #CFD7E6;
      ;
      border-radius: 5px;
      padding-right: 30px;
      width: 100%;
      line-height: 30px;
      padding: 0 60px 0 10px;
      color: #333;
      &:hover {
        border-color: #5FB4FF;
        &+.cal-wrapper {
          color: #5FB4FF;
          font-family: '宋体';
          .cal-item:first-child {
            border-left: 1px solid #5FB4FF;
            border-right: 1px solid #5FB4FF;
          }
        }
      }
      &:focus {
        border-color: #2494ec;
        &+.cal-wrapper {
          color: #2494ec;
          .cal-item:first-child {
            border-left: 1px solid #2494ec;
            border-right: 1px solid #2494ec;
          }
        }
      }
    }
    .cal-wrapper {
      display: inline-block;
      position: absolute;
      width: 60px;
      line-height: 32px;
      text-align: center;
      color: #CFD7E6;
      top: 0;
      right: 0;
      border-top-right-radius: 5px;
      border-bottom-right-radius: 5px;
      .cal-item {
        width: 30px;
        display: inline-block;
        float: left;
        cursor: pointer;
        &:first-child {
          border-left: 1px solid #CFD7E6;
          border-right: 1px solid #CFD7E6;
        }
      }
    }
  }
}

// 开关
label.switch__label {
  display: inline-block;
  height: 24px;
  line-height: 24px;
  width: 48px;
  clear: both;
  cursor: pointer;
  position: relative;
  input[type='checkbox'] {
    opacity: 0;
    filter: alpha(opacity=0);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    &:checked {
      &+.switch__bg {
        background: #2494ec;
        .circle {
          right: 2px;
          left: auto;
        }
        i {
          display: inline-block;
          position: absolute;
          left: 8px;
          color: #fff;
          font-size: 12px;
        }
      }
    }
  }
  .switch__bg {
    display: inline-block;
    width: 48px;
    height: 24px;
    background: #e5e5e5;
    border-radius: 20px; 
    transition: all .5s;
    position: relative;
    .circle {
      display: inline-block;
      border-radius: 50%;
      width: 20px;
      height: 20px;
      background: #fff;
      position: absolute;
      left: 2px;
      top: 2px;
      z-index: 10;
    }
    i {
      display: none;
    }
  }
}

ol {
  list-style: none outside none;
  margin: 0;
  padding: 0;
}

.ui-step {
  color: #b7b7b7;
  padding: 0 60px;
  margin-bottom: 35px;
  position: relative;
}

.ui-step:after {
  display: block;
  content: "";
  height: 0;
  font-size: 0;
  clear: both;
  overflow: hidden;
  visibility: hidden;
}

.ui-step li {
  float: left;
  position: relative;
}

.ui-step .step-end {
  width: 120px;
  position: absolute;
  top: 0;
  right: -60px;
}

.ui-step-line {
  height: 5px;
  background-color: #e0e0e0;
  margin-top: 10px;
}

.step-end .ui-step-line {
  display: none;
}

.ui-step-cont {
  width: 120px;
  position: absolute;
  top: 0;
  left: -15px;
  text-align: center;
}

.ui-step-cont-number {
  display: inline-block;
  *zoom: 1;
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  line-height: 24px;
  color: #ccc;
  border: 1px solid #ccc;
  background: #f2f5f8;
  border-radius: 50%;
  font-size: 14px;
}

.ui-step-cont-text {
  position: relative;
  top: 34px;
  left: -42px;
  font-size: 12px;
}

/** 步骤数定义 **/

.ui-step-3 li {
  width: 50%;
}

.ui-step-4 li {
  width: 33.3%;
}

.ui-step-5 li {
  width: 25%;
}

.ui-step-6 li {
  width: 20%;
}

/** The default style (默认风格) **/

.step-default {
  // .ui-step-cont-number { background-color:  #F4F6F9;}
  .ui-step-line {
    background-color: #F4F6F9;
  }
}

/* Done */

.step-done .ui-step-cont-number {
  background-color: #2494ec;
  border-color: #2494ec;
  color: #fff;
}

.step-done .ui-step-cont-text {
  color: #666;
}

.step-done .ui-step-line {
  background-color: #2494ec;
}

// 弹出框

/* modal */
.modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1000;
  &.fixed-modal {
    overflow-y: auto;
    .confirm-print {
      transition: all .5s;
      cursor: pointer;
      position: fixed;
      z-index: 101;
      padding: 6px 15px;
      top: 50px;
      right: 100px; 
      border: 1px solid #ccc;
        border-radius: 8px;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px; 
        background: rgba(250, 250, 250, 0.75);
        background: #E5E5E5\9;

        &:hover {
          background: rgba(250, 250, 250, 1);
          background: #E3E3E3\9;

        }
    }
    .modal-content {
      .modal-body {
        height: auto;
        max-height: unset;
      }
    }
  }
	.modal-mask {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 1000;
		background-color: #000;
		opacity: 0.5;
		filter: alpha(opacity = 50);
	}
	.modal-content {
		position: relative;
		z-index: 1001;
		width: 640px;
		margin: 5% auto;
		border-radius: 4px;
		background-color: #fff;
		padding: 20px;
		&.big-modal {
			width: 800px;
		}
		.modal-header {
			margin-bottom: 22px;
			&:after {
				@extend .clear-both;
			}
			line-height: 28px;
			.modal-title {
				float: left;
				font-size: 18px;
			}
			i {
				float: right;
				cursor: pointer;
				color: #999;
				font-size: 12px;
				&:hover {
					color: #999;
				}
				&:active {
					color: #333;
				}
			}
		}
		.modal-body {
			max-height: 300px; 
      overflow-y: auto;

			&:after {
				@extend .clear-both;
			}
			.hw-input-label {
				margin: 16px 0;
			}
			img {
				width: 100%;
				max-height: 500px;
			}
      .main-table-content {
        max-height: 500px;
        overflow-y: auto;
      }
		}
		.modal-footer {
			&:after {
				@extend .clear-both;
			}
			margin-top: 36px;
			button {
				float: right;
				margin-left: 16px;
			}
		}
	}
}

.fixed-modal-mask {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: #000;
  opacity: .7;
  filter: alpha(opacity=70);
}

 




.clear-both {
	content: '';
	clear: both;
	display: table;
}


.orange-color {
	color: $orange-color;
}
.green-color {
	color: $green-color;
}
.red-color {
	color: #e6322c;
}
.blue-color {
	color: $blue-color;
}



/** 通用组件  */
.show {
	display: block;
}
.hide {
	display: none;
}   

/* 文字按钮 */
.hw-word-btn {
	color: #2494ec;
	&:hover {
		color: #5fb4ff;
	}
	&:active {
		color: #006cca;
	}
}

/* 带底色的按钮 */
.hw-btn {
	font-size: 14px;
	background-color: #2494ec;
	display: inline-block;
	vertical-align: top;
	color: #fff;
	height: 32px;
	line-height: 32px;
	padding: 0 14px;
	border-radius: 4px;
	border: 1px solid transparent;
	cursor: pointer;
	&.hw-small-btn {
		margin-top: 4px;
		height: 24px;
		line-height: 24px;
		padding: 0 10px;
	}
	&:disabled, &.disabled {
		cursor: not-allowed;
		opacity: 0.6;
		filter: alpha(opacity = 60);
	}
	&:not(:disabled):not(.disabled):hover {
		background-color: #5fb4ff;
	}
	&:not(:disabled):not(.disabled):active {                 
		background-color: #006cca;
	}
	&.hw-default-btn {
		background-color: #fff;
		color: #2494ec;
		border: 1px solid #2494ec;
		&:not(:disabled):not(.disabled):hover {
			color: #5fb4ff;
			border: 1px solid #5fb4ff;
			background-color: #fff;
		}
		&:not(:disabled):not(.disabled):active {
			color: #006cca;
			border: 1px solid #006cca;
			background-color: #fff;
		}
	}
}
 

/* label input */
.hw-input-label {
	&:after {
		@extend .clear-both;
	}

  &.short {
    .form-control {
      input {
        width: 170px;
      } 

      .hw-select {
        width: 170px;
      }
    }

    .input-icon-group {
      float: left;
      width: 170px;
      margin-right: 20px;

      input {
        width: 100%;
      }
    }
  }

	margin-right: 12px;
	color: #333;
	.name {
		float: left;
		height: 32px;
		line-height: 32px;
		width: 80px;
		text-align: right;
		margin-right: 8px;
		span {
			color: #e6322c;
			position: relative;
			top: 3px;
		}
	}
	.form-control {
    width: 360px;
		line-height: 32px;
		float: left;

    &.auto {
      width: auto;
    }
		&:after {
			@extend .clear-both;
		}
		&.hw-detail-imgs {
			img {
				width: 100px;
				height: 100px;
				float: left;
				margin-right: 20px;
			}
		}
		& > input, & > select {
			float: left;
      width: 100%;
		}
		& > span {
			float: left;
			margin: 0 10px;
			line-height: 32px;
		}
	}
}

.hw-switch-label {
  @extend .hw-input-label;

  .form-control {
    width: 360px;
    line-height: 32px;

    .switch__label {
      top: 4px;
    }
  }
}

.width-number {
  .form-control {
    position: relative;

    input {
      // padding-right: 
    }

    .num-span {
      position: absolute;
      right: 2px;
      bottom: 2px;
      background: #fff;
      font-size: 10px;
      line-height: 1.2;
      padding: 0 0 0 10px;
      margin: 0;
    }
  }
}

/* input */
.hw-input, .hw-textarea, .show-option {
	width: 360px;
	height: 32px;
	line-height: 32px;
	// padding: 0 12px;
	padding-left: 12px;
	border: 1px solid #cfd7e6;
	border-radius: 4px;
	&.small-size {
		width: 170px;
		& ~ .select-options, & ~ .show-option {
			width: 170px;
		}
	}
	&.smaller-size {
		width: 113px!important;
		margin-right: 10px;
		&:last-child {
			margin-right: 0;
		}
		& ~ .select-options, & ~ .show-option {
			width: 113px!important;
		}
	}
	&:hover {
		border-color: #5fb4ff;
		& ~ i {
			color: #5fb4ff;
		}
		& ~ .search-btn, & ~ .time-icon, & ~ .date-icon {
			background-color: #5fb4ff;
		}
		& ~ .add-btn, & ~ .subtract-btn {
			color: #5fb4ff;
			border-color: #5fb4ff;
			background-color: #fff;
		}
	}
	&:active, &:focus {
		border-color: #006cca;
		& ~ i {
			color: #006cca;
		}
		& ~ .search-btn, & ~ .time-icon, & ~ .date-icon {
			background-color: #006cca;
		}
		& ~ .add-btn, & ~ .subtract-btn {
			color: #006cca;
			border-color: #006cca;
			background-color: #fff;
		}
	}
}
.hw-textarea {
	height: 120px;
  resize: none;
  display: block;
}

.hw-select {
  width: 360px;
	position: relative;
	float: left;
  // border: 1px solid #cfd7e6;
  // height: 36px;
  
	& > i {
		position: absolute;
		top: 0;
		right: 8px;
		line-height: 32px;
		font-size: 20px;
		color: #cfd7e6;
	}
	& > input {
		position: absolute;
		top: 0;
		left: 0;
		z-index: 10;
		opacity: 0;
		cursor: pointer;
		filter: alpha(opacity = 0);
		&:hover ~ .show-option {
			border-color: #5fb4ff;
		}
		&:active ~ .show-option, &:focus ~ .show-option {
			border-color: #006cca;
		}
	}
 .hw-input {
    width: 100%;
  }
	.select-options {
		display: none;
		box-shadow: 0 2px 4px 0 #cfd7e6;
		border-radius: 4px;
		position: absolute;
		top: 32px;
		z-index: 1001;
		// width: 360px;
    width: 100%;
		background-color: #fff;
		padding: 2px 0;
		max-height: 300px; 
    overflow-y: auto;
		.option {
			color: #999;
			font-size: 14px;
			position: relative;
			height: 36px;
			line-height: 36px;
			padding: 0 10px;
      text-align: center;
			overflow: hidden;
			white-space: nowrap;
			text-overflow: ellipsis;
			cursor: default;
			i {
				position: absolute;
				top: 0;
				left: 15px;
				color: #2494ec;
				font-size: 14px;
				display: none;
			}
			&:hover {
				background-color: #f4f6f9;
			}
			&.selected {
				background-color: #f4f6f9;
				i {
					display: block;
				}
			}
		}
	}

  .show-option {
    width: 100%;

    .placeholder {
      color: #ccc;
    }
  }
}

.hw-search, .hw-search-prevent, .hw-time, .hw-date, .hw-delete, .hw-edit, .hw-compute {
	position: relative;
	display: inline-block;
	vertical-align: top;
	float: left;
	&:after {
		@extend .clear-both;
	}
	&:hover {
		input {
			border-color: #5fb4ff;
		}
		i {
			color: #5fb4ff;
		}
		.search-btn, .time-icon, .date-icon {
			background-color: #5fb4ff;
			i {
				color: #fff;
			}
		}
		.add-btn, .subtract-btn {
			color: #5fb4ff;
			border-color: #5fb4ff;
			background-color: #fff;
		}
	}
	.hw-input, .hw-textarea, .show-option, .hw-compute {
		&:focus {
			border-color: #006cca;
			& ~ i {
				color: #006cca;
			}
			& ~ .search-btn, & ~ .time-icon, & ~ .date-icon {
				background-color: #006cca;
			}
			& ~ .add-btn, & ~ .subtract-btn {
				color: #006cca;
				border-color: #006cca;
				background-color: #fff;
			}
		}
	}
	.search-btn, .time-icon, .date-icon, .delete-icon, .edit-icon {
		background-color: #cfd7e6;
		position: absolute;
		top: 0;
		right: 0;
		line-height: 32px;
		font-size: 18px;
		width: 32px;
		height: 32px;
		line-height: 30px;
		text-align: center;
		border-radius: 0 4px 4px 0;
		color: #fff;
		cursor: pointer;
		pointer-events: none; 
		i {
			font-size: 18px;
		}
	}
}
.hw-search {
	button.search-btn {
		pointer-events: auto;
	}
}
.hw-time, .hw-date {
}

.hw-compute {
	position: relative;
	display: inline-block;
	vertical-align: top;
	& > div {
		position: absolute;
		top: 0;
		right: 0;
		z-index: 99;
		width: 32px;
		height: 32px;
		line-height: 30px;
		text-align: center;
		font-size: 24px;
		cursor: default;
		border: 1px solid #cfd7e6;
		user-select: none;
		-webkit-touch-callout: none; /* iOS Safari */
		-webkit-user-select: none; /* Chrome/Safari/Opera */
		-khtml-user-select: none; /* Konqueror */
		-moz-user-select: none; /* Firefox */
		-ms-user-select: none; /* Internet Explorer/Edge */
		&.disabled {
			background-color: #f4f6f9;
		}
		&.add-btn {
			font-size: 18px;
			right: 32px;
			border-right: none;
			background-color: #fff;
		}
		&.subtract-btn {
			border-radius: 0 4px 4px 0;
			background-color: #fff;
		}
	}
}



.hw-iframe {
	background-color: #fff;
	min-height: 100%;
	border-radius: 4px;
  // margin: 20px; 
  border: 20px solid #EFF3F5;
  padding-top: 0;
	min-width: 1080px; 
}

/* modal */
.modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1000;
	.modal-mask {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 1000;
		background-color: #000;
		opacity: 0.5;
		filter: alpha(opacity = 50);
	}
	.modal-content {
		position: relative;
		z-index: 1001;
		width: 640px;
		margin: 5% auto;
		border-radius: 4px;
		background-color: #fff;
		padding: 20px;
		&.big-modal {
			width: 800px;
		}
		.modal-header {
			margin-bottom: 22px;
			&:after {
				@extend .clear-both;
			}
			line-height: 28px;
			.modal-title {
				float: left;
				font-size: 18px;
			}
			i {
				float: right;
				cursor: pointer;
				color: #999;
				font-size: 12px;
				&:hover {
					color: #999;
				}
				&:active {
					color: #333;
				}
			}
		}
		.modal-body {
			max-height: 500px; 
			&:after {
				@extend .clear-both;
			}
			.hw-input-label {
				margin: 16px 0;
			}
			img {
				width: 100%;
				max-height: 500px;
			}
		}
		.modal-footer {
			&:after {
				@extend .clear-both;
			}
			margin-top: 36px;
			button {
				float: right;
				margin-left: 16px;

        a {
          color: inherit;
        }

        .upload-label {
          cursor: pointer;
          display: block; 
        }
			}
		}
	}
}
.confirm-modal {
	.modal-content {
		width: 380px;
    top: 50%;
    margin-top: -220px;
    .modal-body {
      max-height: 300px;
      overflow-y: auto;
    }
	}
	.modal-footer {
		margin-top: 32px;
	}
}
 
/* alert-modal */
.hw-alert {
	position: fixed;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	display: none;
	.hw-mask {
		height: 100%;
		background-color: #000;
		opacity: 0;
		filter: alpha(opacity=0);
	}
	.hw-container {
		background-color: #000;
		opacity: 0.8;
		filter: alpha(opacity=80);
		border-radius: 6px;
		position: absolute;
		top: 100px;
		left: 46%;
		color: #fff;
		padding: 20px;
		max-width: 200px;
	}
}
 
// 验证提示
label.error {
	color: #e6322c;
	font-size: 12px;
	display: block;
}

/* tab-pane */
.hw-nav-tabs {
	border-bottom: 1px solid #e5e5e5;
	&:after {
		@extend .clear-both;
	}
	li {
		margin-right: 2px;
		margin-bottom: -1px;
		float: left;
		height: 40px;
		line-height: 40px;
		padding: 0 20px;
		color: #999;
		cursor: pointer;
		border: 1px solid #e5e5e5;
		&:hover {
			color: #5fb4ff;
		}
		&.active {
			color: #2494ec;
			border-bottom-color: #fff;
		}
	}
}
.hw-tab-panes {
	.tab-pane, .group-operate {
		display: none;
	}
  .tab-pane {
    padding-bottom: 72px;
  }
  .main-form, #main-form {
    padding-bottom: 0;
  }
}


/** 项目组件组合样式  */

/* 顶部 */



/* 筛选 */
.hw-filter {
	widthL: 100%;

	.default-filter {
    padding: 12px;
    background: #F4F6F9;
		&:after {
			@extend .clear-both;
		}
		& > div {
			float: left;
			&:after {
				@extend .clear-both;
			}
		}
		.filter-switch {
      @extend .hw-btn--default;
			overflow: hidden;
			float: left;
			margin-left: 24px;
			background: #FFFFFF;
      border: 1px solid #2494EC;
			height: 32px;
			line-height: 32px; 
			padding: 0 8px 0 12px;
			border-radius: 4px;
	
			cursor: default;
			i {
				color: #2494EC;
				float: right;
			}

      &.active {
        i {
          transform: rotate(180deg);
        }
      }
		}
    .search-btn {
      border: none;
    }
	}
	.filter-detail {
		display: none;
		margin-top: 15px; 
		.filter-item {
      position: relative;
      padding-right: 214px;

			&:after {
				@extend .clear-both;
			}
			& > div {
				float: left;
				margin-bottom: 16px;
				.form-control {
          width: 170px;
					.hw-select,
          .hw-input {
            width: 170px;
          }
				}
        .input-icon-group {
          width: 170px;
          input {
            width: 170px;
          }
        }
			}
			.operate-btns {
        width: 174px;
        position: absolute;
				right: 16px;
        bottom: 15px;
        margin-bottom: 0;
				button {
					float: left;
					margin-left: 12px;
					i {
						font-size: 13px;
						position: relative;
						left: -2px;
					}
				}
			}
		}
	}
}


/* hw-group */
.group-title {
  border-bottom: 2px solid #e5e5e5;
  height: 44px;
  line-height: 44px;
	font-size: 14px;
	color: #333;
	span{
		color: #999;
	}
}

// 面包屑
.bread-crumb{
  height: 44px;
  line-height: 44px;
	font-size: 14px;
	color: #999;
	.title-main{
		color: #2494ec;
		margin-right: 3px;
	}
	.title-sub{
		padding-left: 3px;
	}
}
.hw-group {
	margin: 0 0 20px 20px;
	
	.group-info {
		margin: 30px 0 14px 0;
		&:after {
			@extend .clear-both;
		}
		
	}
	.group-item {
		&:after {
			@extend .clear-both;
		}
		.hw-input-label {
			margin: 0 25px 16px 0;
			float: left;
      & > span {
        line-height: 32px;
        margin: 0 10px;
      }
			.name {
				width: 100px;
				&.auto {
					width: 940px;
				}
				b {
					font-weight: normal;
				}
			}
		}

    .full-width {
      width: 100%;
    }
	}
}
#main-form, .main-form {
	position: relative;
	padding-bottom: 72px; 
}

.group-operate {  
  width: 100%; 
  background: rgba(244,246,249,0.50);
  height: 72px;
  text-align: center;
  padding-top: 20px;

  .hw-container {
    &:after {
      @extend .clear-both;
    }
    display: inline-block;
    vertical-align: top;
    a {
      float: left;
    }
    button {
      float: left;
      margin-left: 40px;
    }
  }
}


// 附件上传
.hw-file-lists {
	.list {
		width: 500px;
		margin-top: 12px;
		&:hover {
			background: rgba(244, 246, 249, 0.50);
			.detail {
				.status {
					i {
						display: none;
						&.delete-file {
							display: inline;
						}
					}
				}
			}
		}
		&.fail {
			&:hover {
				.detail {
					.process {
						display: none;
						& ~ .status {
							display: inline;
						}
					}
				}
			}
			.detail {
				.process {
					color: #e6322c;
				}
			}
			.process-bar {
				.done {
					background-color: #e6322c;
				}
			}
		}
		.detail {
			height: 28px;
			line-height: 28px;
			padding: 0 8px;
			&:after {
				@extend .clear-both;
			}
			.file-name {
				color: #999;
				float: left;
			}
			.process {
				color: #999;
				& ~ .status {
					display: none;
				}
			}
			.process, .status {
				float: right;
			}
			.status {
				i {
					font-size: 12px;
					color: #2494ec;
					cursor: default;
				}
				i.delete-file {
					display: none;
					color: #8A98B0;
				}
			}
		}
		.process-bar {
			position: relative;
			background-color: #f4f6f9;
			width: 100%;
			height: 8px;
			border-radius: 16px;
			.done {
				position: absolute;
				top: 0;
				left: 0;
				z-index: 10;
				background-color: #2494ec;
				height: 8px;
				border-radius: 16px;
			}
		}
	}
}

// 图片上传
.hw-img-lists {
	height: 80px;
	&:after {
		@extend .clear-both;
	}
	.add-img-btn, .add-file-btn {
		float: left;
		margin-right: 16px;
		font-size: 50px;
		display: block;
		width: 80px;
		height: 80px;
		line-height: 80px;
		text-align: center;
		font-family: 'simsun' !important;
		color: #2494ec;
		border: 1px dashed #2494ec;
		border-radius: 4px;
		span {
			font-size: 14px;
			line-height: 80px;
			display: block;
		}
		&:hover {
			color: #5fb4ff;
			border-color: #5fb4ff;
		}
		&:active {
			color: #006cca;
			border-color: #006cca;
		} 
	}
	.tip {
		float: left;
		line-height: 80px;
	}
	.list {
		position: relative;
		float: left;
		margin-right: 16px;
		width: 80px;
		height: 100%;
		&:hover {
			.musk, .operate {
				display: block;
			}
		}
		&.fail {
			.status {
				width: 23px;
				height: 23px;
				div {
					width: 23px;
					height: 23px;
					display: none;
					&.fail {
						display: block;
					}
				}
			}
			.process {
				color: #e6322c;
			}
			.musk {
				display: block;
			}
		}
		img {
			width: 100%;
			height: 100%;
			border-radius: 4px;
		}
		.status {
			position: absolute;
			top: 0;
			right: 0;
			z-index: 10;
			div {
				width: 23px;
				height: 23px;
				color: #fff;
				&.success {
					background: url(/static/img/success-icon.png) no-repeat;
				}
				&.fail {
					display: none;
					background: url(/static/img/fail-icon.png) no-repeat;
				}
			}
		}
		.operate {
			display: none;
			.preview-img, .delete-img {
				cursor: default;
				color: #fff;
				font-size: #333;
				position: absolute;
				top: 24px;
				left: 16px;
				z-index: 10;
			}
			.delete-img {
				left: 48px;
			}
		}
		.process {
			position: absolute;
			z-index: 10;
			bottom: 16px;
			color: #999;
			width: 100%;
			text-align: center;
			line-height: 1;
			cursor: default;
		}
		.musk {
			position: absolute;
			top: 0;
			left: 0;
			bottom: 0;
			right: 0;
			border-radius: 4px;
			background-color: rgba(0, 0, 0, 0.50);
			display: none;
		}
	}
}

// 附件上传
.hw-attachment-lists {
  .list {
    width: 500px;
    margin-bottom: 12px;
    &:after {
      @extend .clear-both;
    }
    &:hover {
      background:transparent;
      filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#0f000000,endColorstr=#0f000000);
      
      .detail {
        background: rgba(244, 246, 249, 0.50);
        .status {
          i {
            cursor: pointer;
            display: none;
            &.delete-file {
              display: inline;
            }
          }
        }
      }
    }
    &.fail {
      &:hover {
        .detail {
          .process {
            display: none;
            & ~ .status {
              display: inline;
            }
          }
        }
      }
      .detail {
        .process {
          color: $red-color;
        }
      }
      .process-bar {
        .done {
          background-color: $red-color;
        }
      }
    }
    .detail {
      width: 90%;
      height: 28px;
      line-height: 28px;
      padding: 0 8px;
      float: left;
      &:after {
        @extend .clear-both;
      }
      .file-name {
        color: $deep-gray-color;
        float: left;
      }
      .process {
        color: $deep-gray-color;
        & ~ .status {
          display: none;
        }
      }
      .process, .status {
        float: right;
      }
      .status {
        i {
          font-size: $small-size;
          color: $default-color;
          cursor: default;
        }
        i.delete-file {
          display: none;
          color: #8A98B0;
        }
      }
    }
    a {
      float: right;
      margin-right: 6px;
      height: 28px;
      line-height: 28px;
      color: $default-color;
    }
    .process-bar {
      position: relative;
      top: 28px; 
      background-color: $base-bg-color;
      width: 100%;
      height: 8px;
      border-radius: 16px;
      .done {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 10;
        background-color: $default-color;
        height: 8px;
        border-radius: 16px;
      }
    }
  }
}


/* 附件 */
.hw-group .attachment-group {
	margin-left: 44px;
}


/* 无限分类 */
#infinite-sort {
	margin: 16px 16px 16px 0;
	border: 1px solid #ccc;
	padding: 10px;
	max-height: 300px;
	overflow-y: scroll;
	width: 100%;
	float: left;
	div {
		display: block;
		line-height: 30px;
		&:hover {
			background-color: #f4f4f4;
		}
		input {
			margin-top: 9px;
		}
	}
	& > .checkbox-inline {
		.hw-checkbox, .hw-radio {
			i {
				margin-right: 0;
			}
		}
	}
	.checkbox-inline {
		i.slide-icon {
			cursor: default;
			font-size: 18px;
			display: inline;
			&.slide-active {
				display: none;
			}
		}
		&.active {
			background-color: #eee;
		}
		&.slide-active {
			i.slide-icon {
				display: none;
				&.slide-active {
					display: inline;
				}
			}
		}
	}
	.infinite-container {
		display: none;
		&:hover {
			background-color: #fff;
		}
		& > div {
			margin-left: 20px;
		}
	}
	
}


// 返回上一页
.back-last-page {
	display: block;
	&:after {
		@extend .clear-both;
	}
	margin: 10px 0 -10px 32px;
	i, span { // &#xe606;
		color: #333;
		float: left;
		margin-right: 6px;
		font-size: 14px;
		line-height: 20px;
	}
}




// 列表
/*14 * n  +  10 + 10 + 2*/

.col-1 {
    width: 36px;
}
.col-2 {
    width: 50px;
}
.col-3 {
    width: 64px;
}
.col-4 {
    width: 78px;
}
.col-5 {
    width: 92px;
}
.col-6 {
    width: 106px;
}
.col-7 {
    width: 120px;
}
.col-8 {
    width: 134px;
}
.col-9 {
    width: 148px;
}
.col-10 {
    width: 162px;
}
.col-11 {
    width: 176px;
}
.col-12 {
    width: 190px;
}
.col-13 {
    width: 204px;
}
.col-14 {
    width: 218px;
}
.col-15 {
    width: 232px;
}
.col-16 {
    width: 246px;
}
.col-17 {
    width: 260px;
}
.col-18 {
    width: 274px;
}
.col-20 {
    width: 302px;
}
.col-22 {
    width: 330px;
}
.col-25 {
    width: 372px;
}


// 列表样式
// .main-table-wrapper { margin: 20px; padding: 0px; display: inline-block; width: auto; max-width: 96%; /*  max-width: calc(100% - 20px); */}
// .main-table-wrapper > * {
//  display: block; height: 100%;
// }
// .main-table-content {
//   position: relative;
//   width: auto;
//   max-width: 100%;
//   height: 100%; 
// }
// .main-table-content table { table-layout: fixed; font-size: 14px;  width: 100%;} 

// .main-table-content table tbody tr { min-height: 36px;  border: 1px solid #e5e5e5; }
// .main-table-content table thead tr th,
// .main-table-content table tbody tr td {
//     padding: 8px;
//     color: #666;
// }
// .main-table-content table thead tr th {
//   font-weight: bold;
//   padding: 12px 8px;
  
// }
// .main-table-content table tbody tr td img {
//     width: 44px;
//     height: 44px;
// }
// .main-table-content table tbody tr td:first-child, 
// .main-table-content table thead tr th:first-child {
//     padding-left: 20px;
// }
// .main-table-content .main-table-thead { overflow: hidden; padding-left: 20px; padding-right: 20px;}
// .main-table-content .main-table-tbody { max-height: 100%; padding-right: 17px \9; padding-left: 20px; padding-right: 20px;}
// .main-table-content .fixed-table { position: absolute; top: 0; width: 100%; height: 100%; overflow: hidden; background: #fff; }
// .main-table-content .fixed-left { left: 0px; }
// .main-table-content .fixed-left.box-shadow { box-shadow: 4px 0 2px #F1F1F1; }
// .main-table-content .fixed-right { right: 17px; }
// .main-table-content .fixed-right.box-shadow { box-shadow: -4px 0 4px #F1F1F1;}
// .main-table-content .fixed-table-content { position: absolute; top: 0;}
// .fixed-left .fixed-table-content { left: 0; }
// .fixed-right .fixed-table-content { right: 0; }
// .main-table-content .fixed-tbody { top: 45px; overflow: hidden; }
// .main-table-content .fixed-table-content table { width: 100%; }


// table tbody tr td, table thead tr th {
// 	a {
// 	    color: #2494ec;
// 	    &:hover {
// 		    color: #5fb4ff;
// 	    }
// 	    &:active {
// 		    color: #006cca;
// 	    }
// 	}
// 	/* 列表操作栏 */
// 	&.operate {
// 		overflow: hidden;
// 		a, div {
// 			float: left;
// 			margin-left: 20px;
// 			color: #2494ec;
// 			font-size: 12px;
// 			&:first-child {
// 				margin-left: 0;
// 			}
// 			&.edit {
// 				color: #2494ec; // &#xe605;
// 			}
// 			&.delete {
// 				color: #e6322c; // &#xe65f;
// 			}
// 			&.check {
// 				color: $blue-color; // &#xe67b;
// 			}
// 			&.take {
// 				color: $green-color; // &#xe62b;
// 			}
// 			&.msg {
// 				color: #999; // &#xe631;
// 				i {
// 					// font-size: 14px;
// 					// position: relative;
// 					// top: 1px;
// 				}
// 			}
// 			&.logistics {
// 				color: $blue-color;
// 			}
// 			&.cancel {
// 				color: #8B572A;
// 				i {
// 					font-size: 12px;
// 				}
// 			}
// 			i {
// 				position: relative;
// 				left: -1px;
// 				font-size: 12px;
// 			}
// 		}
// 	}
// }


#import-file {
	display: none;
}

/* admin header */

.admin-header{
	position: fixed;
	top: 0;
	width: 100%;
	height: 50px;
	line-height: 50px;
	color: #fff;
	background-color: #005B99;
	// background-color: #3b3b3b;
	z-index: 11;

}
.admin-header ul{
	overflow: hidden;
	height: 100%;
}
.admin-header ul li.logo{
	font-size: 20px;
	float: left;
	height: 50px;
	padding: 0 15px 0 30px;
	// background-color: #4e4e4e;
	// background: rgba(255, 255, 255, 0.1);
	width: 200px;
}
.admin-header ul li.logo img{
	height: 30px;
	margin-top: 10px;
}
.admin-header .icons {
	float: right;
	height: 60px;
}
.admin-header .icons a {
	position: relative;
	display: inline-block;
	width: 24px;
	height: 24px;
	line-height: 24px;
	text-align: center;
	background: #fff;
	border-radius: 50%;
	margin-left: 24px;
	&:hover {
		i {
			color: #5fb4ff;
		}
	}
	.num {
		position: absolute;
		top: -4px;
		right: -4px;
		width: 14px;
		height: 14px;
		line-height: 14px;
		border-radius: 100%;
		background-color: #e6322c;
		font-size: 12px;
		transform: scale(0.8);
	}
}
.admin-header .icons a i { 
	font-size: 12px;
	color: #2494ec;
}
.admin-header ul li.quit_login{
	padding: 0 35px 0 46px;
	height: 60px;
	float: right;
	text-align: center;
	font-size: 14px;
	color: #fff;
	cursor: pointer;
}

.admin-header ul li.quit_login .box{
	overflow: hidden;
	display: inline-block;
}
.admin-header ul li.quit_login span{
	float: left;
	margin: 0 8px;
}
.admin-header ul li.quit_login i{
	font-size: 14px;
	float: left;
}
.admin-header ul li.quit_login .down_sanjiao{
	float: left;
	z-index: 101;
	margin-top: 23px;
	border-width: 6px;
	border-color: #fff transparent transparent transparent;
	/*transparent 透明*/
	border-style: solid dashed dashed dashed;
	width: 0;
	height: 0;
	overflow: hidden;
}
.admin-header ul li.quit_login.active{
	color: #fff;
	background-color: #262a2d;
}
.admin-header ul li.quit_login.active .down_sanjiao{
	border-color: #fff transparent transparent transparent;
}

.admin-header .admin_quit{
	display: none;
}
.admin-header ul li.quit_login:hover + .admin_quit {
	display: block;
}
.admin-header .admin_quit:hover {
	display: block;
}
.admin-header .admin_quit:before {
	content: "";
	position: fixed;
	top: 47px;
	right: 60px;
	z-index: 102;
	border-width: 8px;
	border-color: transparent transparent #fff transparent;
	border-style: dashed dashed solid dashed;
	width: 0;
	height: 0;
	overflow: hidden;
}
.admin-header .admin_quit:after {
	content: '';
	width: 180px;
	height: 16px;
	background-color: #EFF3F5;
	opacity: 0;
	filter: alpha(opacity = 0);
	position: absolute;
	top: 50px;
	right: 30px;
	z-index: -1;
}
.admin-header .admin_quit .info{
	background-color: #fff;
	width: 180px;
	position: fixed;
	top: 62px;
	right: 30px;
	z-index: 101;
	padding-bottom: 10px;
	font-size: 14px;
	border: 1px solid #ebebeb;
    box-shadow: 0 0 8px 4px #ebebeb;
    border-radius: 5px;
}
.admin-header .admin_quit .info a{
	color: #333;
}
.admin-header .admin_quit .info ul{
	box-sizing: content-box;
	font-size: 14px;
	overflow: hidden;
	padding: 10px 20px;
	line-height: 20px;
}
.admin-header .admin_quit .info ul li{
	float: left;
}

.admin-header .admin_quit .user_info span{
	color: #696a6a;
}
.admin-header .admin_quit .user_info p{
	font-weight: bold;
	color: #999;
}
.admin-header .admin_quit .change_pw {
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
}
.admin-header .admin_quit .pub_style:hover ul, .admin-header .admin_quit .pub_style:hover i{
	background-color: #F4F6F9;
	color: #2494ec;
}
.admin-header .admin_quit .pub_style ul{
	color: #26292d;
	height: 20px;	
}
.admin-header .admin_quit .pub_style i{
	font-size: 16px;
	color: #666;
	margin-right: 5px;
}
.admin-header .admin_quit .change_pw i {
	font-size: 18px;
}


.admin-aside {     
	position: fixed;
    top: 50px;
    left: 0;
    bottom: 0;
    z-index: 99;
    background-color: #fff;
    box-shadow: 2px 0 4px 0 rgba(0, 0, 0, 0.05);
    border-right: 1px solid #e5e5e5;
}
.admin-aside .company_logo{
    position: absolute;
    bottom: 20px;
    width: 200px;
    text-align: center;
    
}
.admin-aside .company_logo a {
    color: #ccc;
}

.admin-aside .first_sidebar {
	width: 200px;
}

.admin-aside .toggle-in {
	width: 50px;
}

.admin-aside .toggle-in li span, .admin-aside .toggle-in li .slide-icon , .admin-aside .toggle-in .second-menu span {
	display: none;
}
 
.admin-aside .first_sidebar li{
	height: 44px;
}
.admin-aside .first_sidebar li .first-menu {
	line-height: 44px;
	height: 44px;
	color: #333; 
	font-size: 14px;
	padding: 0 16px;
	display: block;
	position: relative;
}
.admin-aside .first_sidebar li .slide-icon {
	position: absolute;
	top: 0;
	right: 16px;
	font-size: 10px;
	color: #999;
}
.admin-aside .first_sidebar li .slide-icon.slidedown {
	display: none;
}
.admin-aside .first_sidebar .first-menu.slidedown .slide-icon.slidedown {
	display: block;
}
.admin-aside .first_sidebar .first-menu.slidedown .slide-icon{
	display: none;
}
.admin-aside .first_sidebar li.toggle-menu {
	background-color: #f4f6f9;
	height: 36px;
	line-height: 36px;
	text-align: center;
}
.admin-aside .first_sidebar li.toggle-menu i {
	color: #999;
	font-size: 20px;
	cursor: pointer;
	padding: 0 10px;
}
.admin-aside .first_sidebar li.toggle-menu i.shrink {
	display: none;
}

.admin-aside .first_sidebar.toggle-in li.toggle-menu i {
	display: none;
	&.shrink {
		display: inline;
	}
}

.admin-aside .first_sidebar .first-menu i.iconfont {
	font-size: 18px;
	margin-right: 12px;
	color: #666;
      
  &.slide-icon {
    transform: scale(.8);
    font-size: 10px;
  }
}

.admin-aside .second-menu {
	display: none;
}
.admin-aside .second-menu a {
	display: block;
	padding-left: 32px;
	height: 36px;
	line-height: 36px;
	color: #666;
}
.admin-aside .second-menu a i {
	font-size: 10px;
	margin-right: 6px;
	color: #666;
}
.admin-aside .second-menu.toggle-in span{
	display: none;
}
.admin-aside .second-menu a:hover,
.admin-aside .second-menu a:hover i,
.admin-aside .second-menu a.active,
.admin-aside .second-menu a.active i,
.admin-aside .first_sidebar .first-menu:hover,
.admin-aside .first_sidebar .first-menu:hover i,
.admin-aside .first_sidebar .first-menu.active,
.admin-aside .first_sidebar .first-menu.active i {
 	color: #2494ec;
 	background: #F4F6F9;
	cursor: pointer;
}

.head_img { 
	width: 32px; 
	height: 32px; 
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 14px;
	margin-left: 49px;
	margin-top: 15px;
}

.admin-section { 
	height: 100%;
	margin-left: 200px;
	padding-top: 50px;
  // padding: 70px 20px 0;
	overflow: hidden;
	background-color: #EFF3F5;
}


// 分页
.nav-route {
	margin-top: 40px;
	width: 100%; 
	background: #fff;
	z-index: 10;
	height: 32px;
	line-height: 32px;
	font-size: 12px;
	overflow: hidden;
	padding-right: 17px;
}
.nav-route .container {
	float: right;
}
.nav-route .data-summary {
	float: left;
}
.nav-route .nav-pagination {
	float: left;
	overflow: hidden;
}
.nav-route .nav-pagination ul {
	float: left;
	overflow: hidden;
	border: 1px solid #cfd7e6;
	border-left: none;
	margin: 0 20px;
	height: 32px;
}
.nav-route .nav-pagination ul li {
	cursor: pointer;
	float: left;
	border-left:1px solid #cfd7e6;
	a {
		display: block;
		padding: 0 12px;
		height: 32px;
		color: #999;
	}
}
.nav-route .nav-pagination ul li.disabled {
	cursor: not-allowed;
}
.nav-route .nav-pagination ul li.disabled a {
	cursor: inherit;
	color: #D8DCE5;
}
.nav-route .nav-pagination ul li.active  {
	background-color: #2494ec;
}
.nav-route .nav-pagination ul li.active a {
	color: #fff;
}
.nav-route .nav-pagination .page-route {
	float: left;
	overflow: hidden;
}
.nav-route .nav-pagination .page-route span {
	float: left;
	color: #666;
	font-size: 14px;
}
.nav-route .nav-pagination .page-route input {
	width: 60px;
	height: 32px;
	line-height: 32px;
	border: 1px solid #cfd7e6;
	text-align: center;
	float: left;
	margin: 0 8px;
}
.nav-route .nav-pagination .page-route button {
	float: left;
	margin-left: 8px;
}

.upload-form, .upload-img-form {
	position: fixed;
	left: -100000px;
}

input[readonly], textarea[readonly] {
    background-color: #fff !important;
    color: #bbb;
    resize: none;
}

.hw-table-wrapper{
  width: 100%;
  table{
    width: 100%;
    thead{
			color: #333;
			word-break: break-all;
			white-space: nowrap;
      th{
        padding: 0 12px;
        line-height: 44px;
      }
    }
    tbody{
      tr{
        border: 1px solid #E5E5E5;
        font-size: 14px;
        color: #999;
        line-height: 36px;
        td{
          padding: 0 12px;
          .table-edit{
						font-size: 12px;
						cursor: pointer;
            .blue{
              color: #2494ec;
            }
            .red{
              color: #E6322C;
            }
            .grey{
              color: #999;
            }
          }
        }
      }
    }
  }
}


%clear-both {
  &:after {
    content: '';
    display: block;
    clear: both;
  }
}
// 文字 + 描述
.btn-input-item {
  width: 100%;
  // overflow: hidden;
  @extend %clear-both;
  margin-bottom: 20px;

  label, .label-input { 
    float: left;
  }

  label {
    width: 250px;
    background: $base-border-color;
    text-align: center;
    color: #fff;
  }

  .label-input {
    width: 500px;
    margin-left: -1px;
    position: relative;

    input {
      width: 100%;
      border-left: 0;
      border-top-left-radius: unset;
      border-bottom-left-radius: unset;
    }

    .del {
      position: absolute;
      right: -30px;
      top: 0;
      cursor: pointer;

      &:hover {
        color: red;
      }
    }
  }
}


.table-page {
    box-sizing: content-box;
      text-align: right;
      padding: 60px 20px 10px;
      line-height: 30px;
      height: 30px; 

      span, a, div {
          display: inline-block;
          height: 100%;
          text-align: center;
      }

      .select {
        width: 80px;
        height: 30px;
        margin-left: 20px;
        border: 1px solid #CFD7E6;
        outline: none;

        &:active,
        &:focus {
          border-color: $base-border-color;
        }
      }

      .page-nums {
        margin-left: 10px;
        margin-right: 22px;
        overflow: hidden;
        vertical-align: top;

        a {
          display: block;
          float: left;
          width: 30px;
          border: 1px solid #CFD7E6;
          cursor: pointer;
          border-right: 0;
          color: #666666;

          &.current {
            background: $default-color;
            color: #fff;
            border: none;

            & + a {
              border-left: 0;
            }
          }
        }

        .pre,
        .next {
          width: 60px;

          &.disabled {
            color: #D8DCE5;
          }
        }

        .next {
          border-right: 1px solid #CFD7E6;
        }
      }

      .turn-page-num {
        width: 30px;
        height: 30px;
        text-align: center;
        border: 1px solid #CFD7E6;
        outline: none;

        &:active,
      &:focus {
        border-color: $base-border-color;
      }
      }

      .page { 
        position: relative;

        .error {
          white-space: nowrap;
          position: absolute;
          left: 100%;
          top: 0;
          margin-left: 10px;
          color: red;
        }
      }
  }


.hover-content {
  display: none;
  position: relative;
  font-weight: normal;
  z-index: 2;

  &:before {
    content: "";
    position: absolute;
    left: unset;
    top: -15px;
    right: 30px;
    z-index: 102;
    border-width: 8px;
    border-color: transparent transparent #fff transparent;
    border-style: dashed dashed solid dashed;
    width: 0;
    height: 0;
    overflow: hidden;
  }

  &.top-hover {

    &:before {
      top: unset;
      bottom: -15px;
      border-color: #fff transparent transparent transparent;
    }
  } 

  .info {
    background-color: #fff; 
    z-index: 101; 
    font-size: 14px;
    border: 1px solid #ebebeb;
    box-shadow: 0 0 8px 2px #ebebeb;
    border-radius: 5px;
    max-height: 240px;
    overflow-y: auto;
    width: 120px;
    // min-width: 120px;
    padding-top: 10px;
    padding-bottom: 10px;
    @extend %scroll-bar;

    .list {
      padding: 10px 4px;
      line-height: 20px;
      height: auto;
      text-align: center;

      &.active, &:hover {
        background: #F4F6F9;
        color: #2494EC;
      }
    }
  }
}

.hover-th {
  position: relative;
  cursor: pointer; 
  
  &:hover { 
    .hover-content {
      display: block; 
    }

    span { 
      i {
        display: inline-block;
        transform: rotate(180deg);
      }
    }
  }

  .hover-content {
    position: absolute;
    top: 100%; 
    // margin-left: -120px;
    left: -30px;

    &.top-hover {
      top: unset;
      bottom: 100%;
    } 
  }
}

.previewed-form {
  input,
  textarea, 
  select  {
    &:disabled {
      // border: none;
      background: #fff;
    }
  }
}


/*********************上传进度条************************/
.upload-document-wrap {
  width: 100%;

  .upload-document-list {
    $w: 494px;
    width: 100%;
    margin-bottom: 20px;

    // >div {
    //   display: none;
    // }

    &.before {
      .before-upload {
        display: block;
      }
    }

    &.on {
      .on-upload {
        display: block;
      }
    }

    &.success {
      .success-upload {
        display: block;
      }
    }

    .before-upload {
      overflow: hidden;
      line-height: 32px;
      // width: $w;

      .upload-content {
        float: left;
        width: auto;

        .upload-btn {
          float: left;
        }

        .text {
          float: left;
          color: #999;
          margin-left: 10px;
        }
      }

      .upload-opt { 
        float: right;
        color: $base-bg-color;
        cursor: pointer;
        margin-right: 10px;
      }
    }

    .on-upload {
      width: $w; 
      padding-top: 6px;
      background: #F9F9F9;

      .document-info {
        width: 100%;
        overflow: hidden;
        font-size: 12px;
        line-height: 17px;
        margin-bottom: 4px;

        .name {
          float: left;
          width: auto;
          padding-left: 10px;
        }

        .status {
          float: right;
          width: auto;
          margin-right: 10px; 
        } 
      } 

      .upload-progress {
        width: 100%;
        height: 8px;
        background: #F2F2F2;
        border-radius: 33px;

        .flow {
          display: flex;
          transition: width .2s;
          display: block; 
          height: 100%;
          background: $blue-color;
          border-radius: 33px;
        }
      }
    }

    .success-upload {
      width: $w;
      // overflow: hidden;
      line-height: 35px;
      position: relative;
      @extend %clear-both;

      .document-info { 
        float: left;
      }

      .upload-opt {
        float: right;

        i {
          font-size: 15px;
          color: $blue-color;
        }

        .opt {
          display: none; 
        } 
      }

      .download-opt {
        position: absolute;
        left: 100%;
        white-space: nowrap;
        padding-left: 20px;
        color: $default-color;
      }

      &:hover {
        background: #F9F9F9;

        .upload-opt {
          i {
            display: none;
          }

          .opt {
            display: inline-block;
            color: #333;
            cursor: pointer;
          }
        }
      }
    }
  }
}

@keyframes myrotate {
  form {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}
/**loading加载中提示*/
.upload-loading-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; 
  z-index: 99999;

  .musk{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff;
    filter: alpha(opacity=80);
    opacity: .8;
  }

 img {
    position: relative;
    z-index: 2;
    display: block;
    width: 64px;
    height: 64px;
    margin: -32px auto 0;
    top: 50%;
    // animation: myrotate linear 1s infinite normal;
    // animation-fill-mode: forwards;
  }
}
 
.main-table-wrap {
  width: 100%;
  padding: 0 20px;

  table {
    // table-layout: fixed;
    width: 100%;
    border: 1px solid $base-border-color;

    thead {
      background: #F4F6F9;
      border-bottom: 1px solid $base-border-color;

      th {
        padding: 11px 12px;

        &:first-child {
          padding-left: 15px;
        }

        .hw-checkbox__label {
          font-weight: normal;
        }
      }
    }

    tbody {

      tr {
        border-bottom: 1px solid $base-border-color;

        &:last-child {
          border-bottom: none;
        }

        /*订单标题*/ 
        &.order-title {
          background: #F4F9FE;

          td {
            padding-top: 9px;
            padding-bottom: 9px;

            &.opt {
              text-align: right;
              cursor: pointer;
              color: #999;
            }

            a {
              color: #2494EC;
            }
          }
          
          span {
            color: #999;
            margin-left: 12px;
          }
        }

        td {
          padding: 11px 12px;

           &:first-child {
            padding-left: 15px;
          } 

          img {
            width: 44px;
            height: 44px;
          }

          a {
            color: #2494EC;
          }
        }

        .opt {

          a {
            padding: 6px; 
            font-size: 12px;
            cursor: pointer;

            i {
              font-size: 12px;
            }
          }
        } 
      }
    }

    &.info-table {
      width: 100%;
      tbody {
        .name {
          background: #F4F6F9;
          border-right: 1px solid $base-border-color;
          text-align: right;
        }
      }
    }
  }
}